package com.zcy.constants;

/**
 * 这是一个常量类,后续如果有其他的一些常量,都可以放在这个class里面
 */
public class BaseConstants {

    public static final String SEND_REGISTER_SMS_PREFIX = "send_register_sms_in_redis_";
    public static final String SEND_LOGIN_SMS_PREFIX = "send_login_sms_in_redis_";
    public static final String SEND_BIND_SMS_PREFIX = "send_bind_sms_in_redis_";

    public static final String PASSWORD_ENCRYPT_PREFIX = "gift";

    public static class User {
        public static final Long BIT_STATE_ENABLE = 1L;
        public static final Long BIT_STATE_DISABLE = 0L;
    }

    public static class LoginInfo{
        public static final int DISABLE_DISABLED = 0 ; //不可用
        public static final int DISABLE_AVAILABLE = 1; //可用
        public static final int TYPE_ADMIN = 0; // 管理员
        public static final int TYPE_USER = 1; // 用户
    }

}
